package com.bachongLightNovel.config;

import com.bachongLightNovel.works.fallback.WorksNovelClientFallbackFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author vermouth
 */
@Configuration
public class FeignConfig {

    @Bean
    public WorksNovelClientFallbackFactory worksNovelClientFallbackFactory(){
        return new WorksNovelClientFallbackFactory();
    }

}
